package com.hand.test.service.impl;/**
 * @author Estelle@앙수청
 * @date 2019/7/20 16:22
 */

import com.hand.test.domain.Permission;
import com.hand.test.mapper.PermissionMapper;
import com.hand.test.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/20 16:22
 */
@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public List<Map<Integer, String>> queryUserPermission(Integer userId) {
        return permissionMapper.queryUserPermission(userId);
    }
}
